//
//  HTTruckTypeView.h
//  TruckDriver
//
//  Created by Ting Han on 2017/10/10.
//  Copyright © 2017年 Ting Han. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HTTruckTypeModel.h"

@protocol HTTruckTypeViewDelegate <NSObject>
@optional
- (void)didClickConformWithLengths:(NSMutableArray *)lengthsData TruckType:(HTTruckTypeModel *)truckType GoodType:(HTTruckTypeModel *)goodsType isLessThanTruck:(BOOL)isLessThanTruck;

@end

typedef void(^BlockCallBack)(void);
@interface HTTruckTypeView : UIView

//dissmiss remove
@property (nonatomic,copy) BlockCallBack blockCallBack;

//selected数据
@property (nonatomic,strong) NSMutableArray *selectedLengths;
@property (nonatomic,strong) HTTruckTypeModel *selectedTruckType;
@property (nonatomic,strong) HTTruckTypeModel *selectedGoodType;

//是否只看零担货源
@property (nonatomic,assign) BOOL isLessThanTruck;

@property (nonatomic,weak) id<HTTruckTypeViewDelegate>delegate;

- (void)reloadContentData;

@end
